package com.example.demo.base;

import java.io.Serializable;

/**
 * @author ml
 * @create 2017-07-07--17:10
 */
public class BaseEntity implements Serializable {
    protected  int page=1;

    protected int size=20;

    protected String sidx="id";

    protected String sord="asx";

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getSidx() {
        return sidx;
    }

    public void setSidx(String sidx) {
        this.sidx = sidx;
    }

    public String getSord() {
        return sord;
    }

    public void setSord(String sord) {
        this.sord = sord;
    }
}
